package com.talkyun.openx.server.core;

public interface Interceptor {

    void onMessageIn(ServiceContext ctx, ServiceRequest sr) throws Throwable;

    void onMessageOut(ServiceContext ctx, ServiceResponse sp) throws Throwable;

    void onException(ServiceContext ctx, Throwable t) throws Throwable;

}